import request from '@/utils/request'

// 获取系统统计数据
export function getSystemStats() {
  return request({
    url: '/diet/statistics/system',
    method: 'get'
  })
}

// 获取用户分布统计
export function getUserDistribution() {
  return request({
    url: '/diet/statistics/user/distribution',
    method: 'get'
  })
}

// 获取菜品热度统计
export function getDishHotStats() {
  return request({
    url: '/diet/statistics/dish/hot',
    method: 'get'
  })
}

// 获取菜品评分统计
export function getDishRatingStats() {
  return request({
    url: '/diet/statistics/dish/rating',
    method: 'get'
  })
}

// 获取菜系分布统计
export function getCuisineDistribution() {
  return request({
    url: '/diet/statistics/cuisine/distribution',
    method: 'get'
  })
}